/*    This file is part of Nephite Exchange.
 *
 *    Nephite Exchange is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 3 of the License, or
 *    (at your option) any later version.
 *
 *    Nephite Exchange is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with Nephite Exchange.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.icub3d.nephiteexchange.client;

import com.google.gwt.core.client.JavaScriptObject;

class ExchangeRate extends JavaScriptObject {
	protected ExchangeRate() {
	}

	public final native String getCountry() /*-{
		return this.country;
	}-*/;

	public final native String getCurrency() /*-{
		return this.currency;
	}-*/;

	public final native String getISOName() /*-{
		return this.isoname;
	}-*/;

	public final native float getExchange() /*-{
		return this.exchange == undefined ? 0.0 : this.exchange;
	}-*/;
}
